Sense operation flags in a memory device

ABSTRACT

In a memory device, odd bit lines of a flag memory cell array are connected with a short circuit to a dynamic data cache. Even bit lines of the flag memory cell array are disconnected from the dynamic data cache. When an even page of a main memory cell array is read, the odd flag memory cells, comprising flag data, are read at the same time so that it can be determined whether the odd page of the main memory cell array has been programmed. If the flag data indicates that the odd page has not been programmed, threshold voltage windows can be adjusted to determine the states of the sensed even memory cell page.

RELATED APPLICATION

This application is a divisional of application Ser. No. 14/833,175,filed Aug. 24, 2015 (allowed), which is a divisional of application Ser.No. 12/942,152, filed Nov. 9, 2010 and issued as U.S. Pat. No. 9,135,998on Sep. 15, 2015, which applications are commonly assigned andincorporated in their entirety herein by reference.

TECHNICAL FIELD

The present embodiments relate generally to memory and a particularembodiment relates to sensing operations in a memory.

BACKGROUND

Flash memory devices have developed into a popular source ofnon-volatile memory for a wide range of electronic applications. Flashmemory devices typically use a one-transistor memory cell that allowsfor high memory densities, high reliability, and low power consumption.Common uses for flash memory include personal computers, flash drives,digital cameras, and cellular telephones. Program code and system datasuch as a basic input/output system (BIOS) are typically stored in flashmemory devices for use in personal computer systems.

A typical flash memory device is a type of memory in which the array ofmemory cells is typically organized into memory blocks that can beerased and reprogrammed on block-by-block basis instead of one byte at atime. Changes in a threshold voltage of each of the memory cells,through erasing or programming of a charge storage structure (e.g.,floating gate or charge trap) or other physical phenomena (e.g., phasechange or polarization), determine the data value of each cell. The datain a cell of this type is determined by the presence or absence of thecharge in the charge storage structure.

The memory array can be organized in many different architecturesincluding NAND and NOR. In a NAND architecture memory device, the memoryblocks can be organized as series strings of memory cells, such asillustrated in FIG. 1.

The array comprises an array of non-volatile memory cells 101 arrangedin columns such as series strings 104, 105. The cells 101 are coupleddrain to source in each series string 104, 105. An access line (e.g.,word line) WL0-WL31 that spans across multiple series strings 104, 105is coupled to the control gates of each memory cell in a row in order tobias the control gates of the memory cells in the row. Data lines, suchas even/odd bit lines BL_E, BL_O, are coupled to the series strings andeventually coupled to sense circuitry, as described subsequently, thatdetect the state of each cell by sensing current or voltage on aselected bit line.

Each series string 104, 105 of memory cells is coupled to a source line106 by a source select gate 116, 117 and to an individual bit line BL_E,BL_O by a drain select gate 112, 113. The source select gates 116, 117are controlled by a source select gate control line SG(S) 118 coupled totheir control gates. The drain select gates 112, 113 are controlled by adrain select gate control line SG(D) 114.

As a result of capacitive coupling from neighboring memory cells, thethreshold voltages of the memory cells in an even page (e.g., even bitline) depend on whether the memory cells of the neighboring odd page(e.g., odd bit line) have been programmed. When a sense operation isperformed on an even page, the memory device does not know whether theodd page has been programmed. In order to compensate for the uncertainstate of the neighboring cells, the sense operation is performed with anextra threshold voltage margin. This can result in a reduced number ofread threshold voltage margins within a limited threshold voltagewindow.

For the reasons stated above, and for other reasons that will becomeapparent to those skilled in the art upon reading and understanding thepresent specification, there is a need in the art for a way to reducethreshold voltage windows during a sense operation.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a schematic of a portion of a typical NAND memory array.

FIG. 2 shows a block diagram of one embodiment of a memory device withsense operation flags.

FIG. 3 shows a more detailed block diagram of one embodiment of adynamic data cache.

FIG. 4 shows a schematic diagram of a typical prior art multiplexingcircuit.

FIG. 5 shows a schematic diagram of the multiplexing circuit inaccordance with FIG. 2.

FIG. 6 shows a flowchart of one embodiment of a method for programmingflag data.

FIG. 7 shows a flowchart of one embodiment of a method for reading.

FIG. 8 shows a block diagram of one embodiment of a memory system thatcan incorporate the multiplexing circuit of FIGS. 2 and 5.

DETAILED DESCRIPTION

In the following detailed description, reference is made to theaccompanying drawings that form a part hereof and in which is shown, byway of illustration, specific embodiments. In the drawings, likenumerals describe substantially similar components throughout theseveral views. Other embodiments may be utilized and structural,logical, and electrical changes may be made without departing from thescope of the present disclosure. The following detailed description is,therefore, not to be taken in a limiting sense.

FIG. 2 illustrates a block diagram of one embodiment of a memory devicehaving a main memory array 200, two sets of flag cells 205, 206, bitline helper gates and multiplexing circuit 201, and sense amplifier(e.g., dynamic data cache DDC) 203. The main memory array 200 and flagcells 205, 206 can be non-volatile memory cells such as flash memory.

The illustrated embodiment includes the main memory array 200 coupled totwo flag memory cell arrays 205, 206. One flag memory cell array 206contains flag data that are used to indicate if a page has beenprogrammed. In one embodiment, these flag cells 206 are read when theircorresponding page in the memory array is being read. In addition toother information, the flag data include an indication as to whetherparticular memory cells of the main memory array 200 (e.g., a particularpage) is programmed, as will be described subsequently. In oneembodiment, each page (where each odd or even page might also comprisemore than one logical page, for example, an upper page and a lower page)of data that are stored in the memory array includes two bytes of flagdata. The flag data are programmed at the same time as the programmingof the data to the main memory cells.

An additional flag memory cell array 205 includes flag cells that areread when an adjacent page is being read. As will be discussedsubsequently, these additional flag cells 205 are directly coupled tothe sense amplifier 203 without multiplexing. The additional flag cells205 are read concurrent with the read of an adjacent page so that it canbe determined if some correction to the read voltages is necessary toaccount for interference or lack of interference from the adjacent pageof cells. In one embodiment, the additional flag memory cell array 205is part of the main memory array.

The main memory array 200 is coupled to the sense amplifier 203 througha multiplexing circuit 201 that includes the bit line helper gates. Thebit line helper gates assist in precharging the bit lines during a senseoperation.

The multiplexing circuit 201 selectively (e.g., alternatively) couplesthe odd and even bit lines to the sense amplifier 203. Thus, when thememory cells coupled to the odd bit lines are to be programmed or read,the multiplexing circuit 201 couples the odd bit lines to the senseamplifier 203. When the memory cells coupled to the even bit lines areto be programmed or read, the multiplexing circuit 201 couples the evenbit lines to the sense amplifier 203.

FIG. 2 illustrates one embodiment for a multiplexing circuit. Forexample, a select transistor 209 can be coupled to the even bit lineBL_(E) and activated by a MUX_(E) signal when the even bit lines are tobe selected. Another select transistor 210 can be coupled to the odd bitline BL_(O) and activated by a MUX_(O) signal when the odd bit lines areto be selected.

A portion 220 of the multiplexing circuit 201 that couples theadditional flag memory cell array 205 to the sense amplifier 203 isconfigured differently from the portion 221 of the multiplexing circuit201 that couples the main memory array 200 to the sense amplifier 203.The additional flag memory cell array portion 220 is configured suchthat the odd bit lines are fixably (e.g., as opposed to selectively)coupled (e.g., directly connected) to the sense amplifier 203. In otherwords, the multiplexing function is inhibited for the odd bit lines sothat they are fixably selected. The even bit lines are not coupled tothe sense amplifier 203. In other words, the even bit lines are fixablydeselected. An alternate embodiment can switch this configuration sothat the even bit lines are fixably coupled to the sense amplifier 203and the odd bit lines are fixably deselected. This configuration isshown in more detail with reference to FIG. 5 that is discussedsubsequently.

The sense amplifier 203 temporarily stores data that is being written toor read from the main memory array 200, such as in order to increase theread and write speeds of the memory device. The sense amplifier 203 caninclude a sense amplifier circuit, a data latch, and a cache latch formemory operation. One embodiment of a sense amplifier 203 is illustratedin greater detail with reference to FIG. 3.

FIG. 3 illustrates a block diagram of one embodiment of a senseamplifier 203 (e.g., DDC). The sense amplifier block diagram of FIG. 3is for purposes of illustration only as alternate embodiments can useother functions/circuits in the circuit 203.

The sense amplifier 203 comprises an access transistor 320 that connectsthe circuit's cache circuitry to the multiplexing circuit 201 of FIG. 2.When the control signal V_(CLAMP) is high, this transistor 320 turns onand connects the cache circuitry to the bit line that is selected by themultiplexing circuit 201. The NMOS access transistor 320 can be a PMOStransistor if inverse logic for the control signal V_(CLAMP) is used.

The sense amplifier 203 further comprises a precharge circuit 322. Whenthe multiplexing circuit 201 connects one of the odd or even bit linesto the sense amplifier 203, the precharge circuit 322 precharges thatparticular bit line prior to a sense operation.

A temporary data cache (TDC) 323 temporarily stores data during aprogram or sense operation. The data is stored in the TDC 323 beforebeing moved to or after being moved from the primary data cache (PDC)326, the secondary data cache (SDC) 327, dynamic data cache (DDC1) 325,or DDC2 324. If the present operation is a sense operation, the data inthe TDC 323 is moved to the I/O line for use by external circuits suchas a microprocessor that initiated the read operation. If the presentoperation is a program operation, the data in the TDC 323 is moved tothe selected memory cell during the portion of the operation in whichthe selected memory cell is programmed with the data.

The main data storage portion of the sense amplifier 203 comprises aDDC2 circuit 324, a DDC1 circuit 325, a PDC circuit 326, and an SDCcircuit 327. The DDC1 and DDC2 circuits 325, 324 are used forcontrolling multi-level programming and storing multi-level data forselected memory cells in combination with the PDC circuit 326. In an SLCprogramming operation, if a logical ‘0’ is being programmed to aselected memory cell, the bit line voltage for that cell is set to 0V bythe PDC 326. If a logical ‘1’ is to be programmed, the bit line voltageis set to V_(CC) from the PDC 326. A logical ‘1’ is an erased state andmeans no programming is to be done, thus the V_(CC) on the bit lineinhibits further programming of any cells coupled to that particular bitline.

FIG. 4 illustrates a typical prior art schematic diagram of amultiplexing circuit/helper gate circuit for coupling prior art flagcells to a sense amplifier. Since the flag memory cell array is part ofand, thus, has the same architecture as the main memory array, the flagcells share the same multiplexing/helper gate circuit as the main memoryarray.

The schematic diagram of FIG. 4 shows that the typical prior art evenand odd flag cell bit lines BL_(E) and BL_(O) can be selectively coupledto the sense amplifier circuitry through their respective even selecttransistor 401 and odd select transistor 402. An even helper gate 410can be used to selectively couple the even bit line BL_(E) to the sourceline. An odd helper gate 411 can be used to selectively couple the oddbit line BL_(O) to the source line.

FIG. 5 illustrates one embodiment of the portion of the multiplexingcircuit that couples the additional flag memory cell array 205 to thesense amplifier 203. The even select gate 510 is disconnected (opencircuit) from the even bit line BL_(E) in order to fixably deselect theeven bit lines. The odd select gate 511 for the odd bit lines BL_(O) isshorted so that the odd bit lines are fixably selected. The even helpergate 513 is shorted while the odd helper gate 514 is disconnected fromthe odd bit lines BL_(O).

It can be seen in FIG. 5 that the connections for the odd bit lines ofthe flag memory cell array effectively bypass the multiplexing circuitwhile the even bit lines of the flag memory cell array are not used.Thus, during a sense operation of the memory cells coupled to the evenbit lines of the main memory array, the odd flags are read during thesame sense operation.

Since one of the even/odd pair of bit lines is fixably deselected, oneembodiment could add a set of duplicate flag memory cells to the flagmemory cell array. In such an embodiment, only half of the physical flagmemory cells are used for storing flag data. Thus, even though half ofthe flag memory cell array goes unused, the other half is alwaysaccessible during either odd or even sense operations. In oneembodiment, the flag data comprise one bit to indicate whether the oddpage has been programmed while the remainder of the bytes can be used toprovide additional information regarding the odd page.

FIG. 6 illustrates a flowchart of one embodiment of a method forprogramming the flag data into the additional flag memory cell array.During even page programming, user data are loaded into the senseamplifier (e.g., DDC) along with the standard flag data 601. Programmingof the memory is then executed. During odd page programming, user dataand standard flag data are loaded into the DDC. The additional flag datathat indicates that the odd page is now programmed is also loaded intothe DDC at this time 603. Programming of the memory is then executed.

FIG. 7 illustrates a flowchart of one embodiment of a method for readinga memory array. The even page of data is read by a sense operation 701.This sense operation includes the odd page flag data 703 from theadditional flag memory cell array along with the user data in the evenpage from the main memory cell array.

The memory control circuitry can then determine whether to adjust theread gate voltage and, thus, the threshold voltage window, in responseto the odd page flag data 705. If the flag data indicates that the oddpage has been programmed, the capacitive coupling from that programminghas already affected the even page and additional adjustments to theread gate voltage for each state of the even page are probably notnecessary 711. If the flag data indicates that the odd page has not beenprogrammed, the read gate voltages can be adjusted (e.g., decreased) tocompensate for the lack of capacitive coupling and the memory cells arere-read 710 at the new read voltage.

In an alternate embodiment, the read gate voltages can be adjusted(e.g., increased) to compensate for no coupling between the odd page andthe even page and the even page can be re-read at the new read voltage.In other words, an initial sense operation is performed. If it isdetermined from the odd page flag data that the odd page has beenprogrammed, the read gate voltage can be adjusted (e.g., increased) tocompensate for the capacitive coupling.

In another alternate embodiment, the helper gates are coupled todecoding signals that are separate from the main memory array. Duringprogramming, the gate signals are the same as the main memory array gatesignals so that the additional flag array bits are programmed when theodd page is programmed. During a read, the gate signals to theadditional flag array are inversed so that the odd flag bits will beread during the even page read.

While the method of FIG. 7 refers to sensing an even page of data (e.g.,even bit line) while also sensing the odd additional flag data, the sametechnique can be used in an alternate embodiment prior to programming ofan upper page of data. As discussed previously, each odd or even pagecan include logical pages such as an upper page of data and a lower pageof data. The additional flag data can be sensed prior to programming ofthe upper page on the even page, for example, to verify that the lowerpage is read correctly even in the absence (or presence, in an alternateembodiment) of capacitive coupling from neighboring pages. Similarly,the same technique could use even page additional flag data during anodd page sense operation if the order of sensing the even/odd pages werereversed.

FIG. 8 illustrates a functional block diagram of a memory device 800.The memory device 800 is coupled to an external processor 810. Theprocessor 810 may be a microprocessor or some other type of controller.The memory device 800 and the processor 810 form part of a memory system820. The memory device 800 has been simplified to focus on features ofthe memory that are helpful in understanding the present embodiments.

The memory device 800 includes an array 830 of memory cells (e.g.,non-volatile memory cells). The memory array 830 is arranged in banks ofword line rows and bit line columns. In one embodiment, the columns ofthe memory array 830 comprise series strings of memory cells.

Address buffer circuitry 840 is provided to latch address signalsprovided through I/O circuitry 860. Address signals are received anddecoded by a row decoder 844 and a column decoder 846 to access thememory array 830. It will be appreciated by those skilled in the artwith the benefit of the present description that the number of addressinput connections depends on the density and architecture of the memoryarray 830. That is, the number of addresses increases with bothincreased memory cell counts and increased bank and block counts.

The memory device 800 reads data in the memory array 830 by sensingvoltage or current changes in the memory array columns using senseamplifier circuitry 850. The sense amplifier circuitry 850, in oneembodiment, is coupled to read and latch a row of data from the memoryarray 830. Data input and output buffer circuitry 860 is included forbidirectional data communication as well as the address communicationover a plurality of data connections 862 with the controller 810. Writecircuitry 855 is provided to write data to the memory array.

Memory control circuitry 870 decodes signals provided on controlconnections 872 from the processor 810. These signals are used tocontrol the operations on the memory array 830, including data read,data write (program), and erase operations. The memory control circuitry870 may be a state machine, a sequencer, or some other type ofcontroller to generate the memory control signals. In one embodiment,the memory control circuitry 870 is configured to control reading andprogramming of memory cells including the programming and reading of theflag memory cell array.

The memory device illustrated in FIG. 8 has been simplified tofacilitate a basic understanding of the features of the memory. A moredetailed understanding of internal circuitry and functions of flashmemories are known to those skilled in the art.

Conclusion

In summary, one or more embodiments additional flag cells, beyond thestandard flag cells, provide an indication of whether or not aparticular page of data of a memory array has been programmed. Theadditional flag data can be read substantially simultaneously with aprevious sense operation so that it can be determined whether the readvoltages for each state need to be adjusted and the memory re-read. Inone embodiment, the read gate voltages are adjusted in response to theadjacent page being programmed. In another embodiment, the read gatevoltages are adjusted in response to the adjacent page not beingprogrammed. Multilevel memory cells can thus be provided with additionalthreshold voltage margin between states.

Although specific embodiments have been illustrated and describedherein, it will be appreciated by those of ordinary skill in the artthat any arrangement that is calculated to achieve the same purpose maybe substituted for the specific embodiments shown. Many adaptations ofthe invention will be apparent to those of ordinary skill in the art.Accordingly, this application is intended to cover any adaptations orvariations of the invention. It is manifestly intended that thisinvention be limited only by the following claims and equivalentsthereof.

What is claimed is:
 1. A method for programming sense flags, the methodcomprising: programming memory cells coupled to first data lines in amain memory array; and programming memory cells coupled to second datalines in the main memory array while programming memory cells coupled todata lines in a flag memory array with flag data indicative of thememory cells coupled to the second data lines being programmed.
 2. Themethod of claim 1, further comprising loading user data into a dynamicdata cache coupled to the first data lines prior to programming thememory cells coupled to the first data lines.
 3. The method of claim 2,wherein programming the memory cells coupled to the first data lines inthe main memory array comprises programming the memory cells coupled tothe first data lines in the main memory array with the user data loadedinto the dynamic data cache.
 4. The method of claim 2, wherein the flagmemory array is a first flag memory array, and further comprisingprogramming memory cells coupled to data lines in a second flag memoryarray with other flag data while programming the memory cells coupled tothe first data lines.
 5. The method of claim 4, further comprisingloading the other flag data into a portion of the dynamic data cachecoupled to the data lines in the second flag memory array while loadingthe user data into the dynamic data cache.
 6. The method of claim 1,wherein programming the memory cells coupled to the data lines in theflag memory array comprises programming data that includes both the flagdata and other data associated with a particular page of data of themain memory array.
 7. The method of claim 1, wherein the flag datacomprises a plurality of bytes of data.
 8. The method of claim 7,wherein the plurality of bytes of data comprises a bit indicative of thememory cells coupled to the second data lines being programmed and bytesproviding additional information about the memory cells coupled to thesecond data lines.
 9. The method of claim 1, wherein a first data lineof the first data lines in the main memory array and a second data lineof the second data lines in the main memory array are adjacent first andsecond data lines.
 10. The method of claim 9, wherein the flag dataindicative of the memory cell coupled to the second data line of theadjacent first and second data lines being programmed is to be readconcurrently with the memory cell coupled to the first data line of theadjacent first and second data lines.
 11. The method of claim 9, whereina read gate voltage of the memory cell coupled to the first data line ofthe adjacent first and second data lines is to be adjusted in responseto the flag data indicative of the memory cell coupled to the seconddata line of the adjacent first and second data lines being programmed.12. A method for programming sense flags, the method comprising:programming memory cells coupled to first data lines in a main memoryarray; programming memory cells coupled to second data lines in the mainmemory array while programming memory cells coupled to first data linesin a flag memory array with flag data indicative of the memory cellscoupled to the second data lines being programmed; and inhibiting memorycells coupled to third data lines in the main memory array whileprogramming memory cells coupled to third data lines in the flag memoryarray with flag data indicative of the memory cells coupled to the thirddata lines not being programmed.
 13. The method of claim 12, wherein athird data line of the third data lines in the main memory array and afirst data line of the first data lines in the main memory array areadjacent first and third data lines.
 14. The method of claim 13, whereinthe flag data indicative of the memory cell coupled to the third dataline of the adjacent first and third data lines not being programmed isto be read concurrently with the memory cell coupled to the first dataline of the adjacent first and third data lines.
 15. The method of claim13, wherein a read gate voltage of the memory cell coupled to the firstdata line of the adjacent first and third data lines is to be adjustedin response to the flag data indicative of the memory cell coupled tothe third data line of the adjacent first and third data lines not beingprogrammed.
 16. The method of claim 12, wherein a first first data lineof the first data lines in the main memory array and a third data lineof the third data lines in the main memory array are adjacent firstfirst and third data lines; wherein a second first data line of thefirst data lines in the main memory array and a second data line of thesecond data lines in the main memory array are adjacent second first andsecond data lines; and wherein a read gate voltage of the memory cellcoupled to the first first data line of the adjacent first first andthird data lines is to be adjusted, in response to the flag dataindicative of the memory cell coupled to the third data line of theadjacent first first and third data lines not being programmed,differently than a read gate voltage of the memory cell coupled to thesecond first data line of the adjacent second first and second datalines is to be adjusted in response to the flag data indicative of thememory cell coupled to the second data line of the adjacent second firstand second data lines being programmed.
 17. A method for programmingsense flags, the method comprising: programming memory cells coupled tofirst data lines in a main memory array with first user data whileprogramming memory cells coupled to first data lines in a first flagmemory array with first flag data; and programming memory cells coupledto second data lines in the main memory array with second user datawhile programming memory cells coupled to second data lines in the firstflag memory array with second flag data and while programming memorycells coupled to data lines in a second flag memory array with thirdflag data indicative of the memory cells coupled to the second datalines being programmed.
 18. The method of claim 17, wherein the datalines in the second flag memory array are first data lines in the secondflag memory array, and further comprising inhibiting memory cellscoupled to third data lines in the main memory array while programmingmemory cells coupled to second data lines in the second flag memoryarray with flag data indicative of the memory cells coupled to the thirddata lines not being programmed.
 19. The method of claim 17, furthercomprising, after programming the memory cells coupled to the first datalines in the main memory array with the first user data whileprogramming the memory cells coupled to the first data lines in thefirst flag memory array with the first flag data, loading the second andthird flag data in a data cache coupled to the first and second datalines in the main memory array, the first and second data lines in thefirst flag memory array, and the data lines in the second flag memoryarray while the loading the second user data in the data cache.
 20. Themethod of claim 19, wherein programming the memory cells coupled to thesecond data lines in the main memory array with the second user datacomprises programming the memory cells coupled to the second data linesin the main memory array with the second user data loaded in the datacache; programming the memory cells coupled to the second data lines inthe first flag memory array with the second flag data comprisesprogramming the memory cells coupled to the second data lines in thefirst flag memory array with the second flag data loaded in the datacache; and programming the memory cells coupled to the data lines in thesecond flag memory array with the third flag data comprises programmingthe memory cells coupled to the data lines in the second flag memoryarray with the third flag data loaded in the data cache.
 21. A methodfor sensing flags, the method comprising: performing a sense operationon memory cells coupled to first data lines of a main memory array andmemory cells coupled to data lines of a flag memory array; anddetermining a program indication of memory cells coupled to second datalines of the main memory array from the sense operation performed on thememory cells coupled to the data lines of the flag memory array.
 22. Themethod of claim 21 and further comprising: adjusting read gate voltagesfor a state of the memory cells coupled to the first data lines of themain memory array when the program indication indicates that the memorycells coupled to the second data lines of the main memory array are notprogrammed.
 23. The method of claim 21 and further comprising:determining states of the memory cells coupled to the first data linesof the main memory array without adjustment of read gate voltages whenthe program indication indicates that the memory cells coupled to thesecond data lines of the main memory array are programmed.
 24. Themethod of claim 21 and further comprising: performing a sense operationon a lower page of the memory cells coupled to the first data linesresponsive to the program indication.
 25. The method of claim 21 andfurther comprising: adjusting read gate voltages for a state of thememory cells coupled to the first data lines of the main memory arraywhen the program indication indicates that the memory cells coupled tothe second data lines of the main memory array are programmed.
 26. Themethod of claim 21 and further comprising: determining states of thememory cells coupled to the first data lines of the main memory arraywithout adjustment of read gate voltage when the program indicationindicates that the memory cells coupled to the second data lines of themain memory array are not programmed.